/* 
 * This javascript file is necessary for the functioning of the theme
 */

$(document).ready(function(){ 
        $("ul.sf-menu").superfish({
            delay:       1000,                           // one second delay on mouseout 
            animation:   {opacity:'show'},               // fade-in and slide-down animation 
            speed:       'slow'                          // faster animation speed 
        }); // Superfish Menus!

        $("#loginarrow").click(function() {
            $("#logindrop").toggle("slow");
            return false;
        });

        $("#search").click(function() {
            $("#searchdrop").toggle("slow");
            return false;
        });
        
        $(".notification").click(function() {
            $(this).fadeOut("slow");
        });
        
});